﻿#pragma once
#ifndef __1    //若没定义1.h 则定义1.h
#define __1

#include<string>
//ANSI转Unicode
wchar_t* AnsiToUnicode(char* str);

//Unicode转ANSI
char* UnicodeToAnsi(wchar_t* wstr);

//ANSI转UTF-8   //_declspec(dllexport)导出函数的必备接口
char* AnsiToUtf8(char* str);

//UTF-8转ANSI
char* Utf8ToAnsi(char* utf8);

//Unicode转UTF-8
char* UnicodeToUtf8(wchar_t* wstr);

//UTF-8转Unicode
wchar_t* Utf8ToUnicode(char* utf8);

std::string UTF8ToGB(const char* str);

std::string ASCII_To_Utf_8(std::string AsciiStr);

std::string UTF_8_To_ASCII(std::string& strUtf_8);
#endif
